package com.shareloke.server

import com.shareloke.server.netty.server.MyNettyServer
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import java.net.InetSocketAddress

/**
 * <p> 描述：项目启动类 </p>
 *
 * @author wlp
 * @version 1.0.0
 * @date 2021/7/14 下午 03:39
 */
@SpringBootApplication
class SpringbootNettyWebsocketApplication

fun main(args: Array<String>) {
    runApplication<SpringbootNettyWebsocketApplication>(*args)
    MyNettyServer(InetSocketAddress(8888)).start()
}
